package com.kai.xadmin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableSwagger2 // 开启swagger2，生成可交互的api文档
@MapperScan("com.kai.xadmin.mapper")
public class XAdminApplication {
	public static void main(String[] args) {
		SpringApplication.run(XAdminApplication.class, args);
	}
}
